<%@ taglib prefix="c"   uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import = "com.db4o.ext.ExtObjectContainer" %>
<%@page import = "com.db4o.servlet.Db4oServlet" %>
<%@page import = "facades.*" %>
<%@page import = "auser.*" %>
<%@page import = "java.util.*" %>
<%  Db4oCareTaker db4oct = new Db4oCareTaker(session,"padova"); %>
<% 
	
	com.db4o.ObjectContainer co = db4oct.getContainer();

	List q = null;
	 
	// Counters
	q = co.query(Counters.class);
	for(int i = 0 ; i<q.size();i++) {
		out.println("elimino " + q.get(i));
		co.delete(q.get(i));	 
		
	} 
	co.commit();	 
	co.ext().purge();
%>
<%=new Date() %><br>
Cancellazione contatori terminata.
